<!-- START <%= File.basename __FILE__ %> -->
<div class="actions">
    <%= link_to("Edit Post", {:controller => 'posts', :action => 'edit', :id => @post}) %>
    <%= link_to("Delete Post", {:controller => 'posts', :action => 'destroy', :id => @post},
            :confirm => "Are you sure you want to delete this post?") %>
</div>
<%= render_post(@post) %>

<!--<%= link_to 'Edit', edit_post_path(@post) %> |
<%= link_to 'Back', posts_path %>-->
<!-- END <%= File.basename __FILE__ %> -->